* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #1c2127;
}

.add-box {
    width: 100vw;
    height: 100vh;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
    /* background-color: pink; */
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #f4f4f4;
    box-shadow: 0px 2px 3px #0000001d;
    z-index: 9;
}

.header-title {
    margin: 0 50px;
    font-size: 30px;
    font-weight: 500;
    color: #1c2127;
    cursor: pointer;
    text-decoration: none;
}

.header-title:hover {
    color: #3773bc;
}

.header-login {
    margin: 0 50px;
    width: 140px;
    height: 35px;
    display: flex;
    align-items: center;
    text-indent: 10px;
    border-radius: 5px;
    color: #1c2127;
    font-weight: 600;
    border: 1px solid #5f6b7c;
    background-color: #f6f6f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-login::before {
    font-size: 25px;
    color: #5f6b7c;
}

.header-login:hover,
.user-logining:hover {
    background-color: #5f6b7c32;
}



.user-logining {
    margin: 0 50px;
    width: 140px;
    height: 35px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    color: #1c2127;
    font-weight: 600;
    border: 1px solid #5f6b7c;
    background-color: #f6f6f6;
    cursor: pointer;
    /* display: none; */
}

.user-logining img {
    display: block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.user-logining .icon-xiangxia1 {
    margin-left: 30px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #1c2127;
    /* background-color: red; */
}


.list-item-board {
    display: block;
    padding: 1px 0 0 0;
    margin: 5px 0 10px 0;
    height: 30px;
    width: 120px;
    border-radius: 5px;
    background-color: #f1f5f969;
    border: 1px solid #c0e0ff;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user {
    padding: 10px 20px;
    position: absolute;
    right: 50px;
    bottom: -140px;
    width: 200px;
    height: 130px;
    border-radius: 10px;
    box-shadow: 0 0 4px #111418b3;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: scale(0);
    cursor: pointer;
}

.user.user-active {
    transform: scale(1);
}

.user ul {
    list-style-type: none;
    /* width: 100%; */
}

.user ul li {
    margin: 0;
    text-indent: 0;
    padding: 0 5px;
    width: 100%;
    height: 35px;
    line-height: 35px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.user ul li:hover {
    background-color: #eef0f2;
}

.user ul .user-out span,
.user ul .user-out i {
    color: #b13c40;
}

.user ul li span {
    margin-left: 5px;
}



.modal-out {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}


.modal-out::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111418b3;
    z-index: 99;
}

.modal-out .modal-out-box {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 140px;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
}


.modal-out-box-msg {
    position: relative;
    width: 95%;
    height: 60%;
    /* background-color: red; */
}

.modal-out .modal-out-box .modal-out-box-msg i {
    font-size: 50px;
    color: #ac2f33;
}

.modal-out-box-msg h2 {
    position: absolute;
    left: 80px;
    top: -5px;
}

.modal-out-box-msg span {
    position: absolute;
    left: 80px;
    top: 30px;
}

.modal-out-box form {
    width: 100%;
    height: 50px;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: end;
}

.modal-out-box form button,
.modal-out-box form input {
    margin: 0 10px;
    height: 35px;
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: transparent;
}

.modal-out-box form input {
    color: #fff;
    font-weight: 600;
    width: 80px;
    background-color: red;
}

.modal-out-box form button {
    width: 50px;
    border: 1px solid #000;
}

.modal-out-box form button:hover {
    background-color: #edeff2;
}

.modal-out-box form input:hover {
    background-color: rgb(195, 0, 0);
}

.center {
    padding: 0 50px;
    position: absolute;
    top: 80px;
    width: 100vw;
    max-height: 90vh;
    height: 90vh;
    position: relative;
    overflow: hidden;
    /* background-color: red; */
}

.center-title {
    position: relative;
    width: 100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: rgb(222, 225, 230);
    border-radius: 5px;
}

.center-article {

    width: 65%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow-y: auto;
    scrollbar-width: none;
    /* background-color: pink; */
}

.center-article-item {
    position: relative;
    padding: 20px;
    margin: 14px;
    width: 47%;
    height: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px #00000081;
    transition: all 0.3s ease;
}

.center-article-item:hover {
    transform: scale(1.005);
    box-shadow: 0 0 10px #00000081
}

.center-article-item .list-item-content {
    height: 210px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    text-overflow: ellipsis;
}

.center-article .center-article-item h3 {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.center-article .center-article-item .list-item-zan {
    margin: 10px 0;
}

.center-article .center-article-item .list-item-zan span:nth-child(2) {
    margin-left: 200px;
}

.center-article .list-item-avatar {
    position: absolute;
    right: 100px;
    bottom: 30px;
    display: flex;
    align-items: center;

}

.center-article .list-item-avatar img {
    margin: 0 5px 0 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.center-article .list-item-footer span {
    text-align: center;
}

.right {
    position: absolute;
    right: 7%;
    top: 0;
    width: 27%;
    height: 70%;
    /* background-color: red; */
}

.right-add {
    margin-top: 5px;
    margin-bottom: 30px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 4px #0000001d;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.right-add:hover {
    transform: scale(1.005);
    box-shadow: 0 0 5px #00000081
}

.right-add i {
    width: 30px;
    height: 30px;
    font-size: 30px;
    font-weight: 600;
    /* background-color: red; */
}

.right-add span {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 600;
}

.article {
    position: absolute;
    top: 0;
    right: -150vw;
    height: 100vh;
    background-color: red;
    transition: all 0.5s ease-out;
    width: 85vw;
    z-index: 1000;
}

.article::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20vw;
    width: 20vw;
    height: 100vh;
    background-color: #00000062;

}

.article .box {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    background-color: #fff;
    /* display: flex;
  flex-direction: column; */
}

.article .box-top {
    position: relative;
    top: 50px;
    width: 83%;
    height: 200px;
    /* background-color: palevioletred; */
}

.article .box .box-top-logo {
    position: fixed;
    top: 0;
    padding: 0 10px;
    width: 100%;
    height: 45px;
    background-color: #f1f5f9;
    box-shadow: 0px 2px 3px #0000001d;
    display: flex;
    align-items: center;
    z-index: 99999;
}

.article .box .box-top-logo i {
    margin-left: 30px;
    font-size: 30px;
    font-weight: 600;
}

.article .box .box-top-logo span {
    font-size: 20px;
    font-weight: 500;
}

.article .box-top-msg {
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
    display: flex;
}

.article .box-top-msg .box-top-left {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article .box-top-msg h3 {
    display: block;
    width: 90%;
    margin: 30px 50px 5px 50px;
}

.article .box-top-dz {
    margin: 0 0 5px 50px;
    cursor: pointer;
}

.article .box-top-item {
    margin-left: 60px;
    width: 30%;
    height: 100%;
    /* background-color: pink; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.article .box-top-item li {
    margin: 10px 0;
    display: flex;
    width: 80%;
    height: 30px;
    /* background-color: #fff; */

    align-items: center;
}

.article .box-top-item li span {
    margin: 0 5px;
    font-weight: 600;
    color: #1c2127;
}

.article .box-top-item li i {
    color: #71717a;
    font-weight: 600;
}

.article .box-top-item li img {
    margin: 0 5px 0 0;
}

.box-top-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.article .box-top-line {
    position: absolute;
    bottom: 0;
    left: 50px;
    height: 5px;
    width: 96%;
    background-color: #409eff;
}

.article .box-content {
    position: relative;
    padding-left: 50px;
    padding-bottom: 20px;
    margin-top: 50px;
    /* background-color: red; */
    width: 83%;
    max-height: 55%;
    height: 55%;
    /* overflow-y: auto;
  scrollbar-width: thin; */
}

.article .box-content span {
    font-weight: 600;
}

.article .box-content p {
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    max-height: 100%;
    height: 100%;
    box-shadow: inset 0 0 10px #0000004f;
    overflow-y: auto;
    scrollbar-width: thin;
    line-height: 30px;
}

.article .box-content-line {
    position: absolute;
    bottom: -40px;
    left: 50px;
    height: 5px;
    width: 96%;
    background-color: #409eff;
}

.article .box-reply {
    padding-left: 50px;
    margin: 70px 0 10px 0;
    width: 83%;
    position: relative;
    /* background-color: rebeccapurple; */
}

.article .box-reply span {
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
}

.article .box-reply .box-reply-inp textarea,
.user-reply-footer-com textarea,
.son-reply-footer-com textarea {
    resize: vertical;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px;
    margin: 10px 0;
}

.article .box-reply .box-reply-inp textarea:focus,
.user-reply-footer-com textarea:focus,
.son-reply-footer-com textarea:focus {
    box-shadow: 0px 0px 4px #41d6ff;
    outline: none;
    border: 1px solid #eee;
}

.article .box-reply .box-reply-inp textarea::placeholder,
.user-reply-footer-com textarea::placeholder,
.son-reply-footer-com textarea::placeholder {
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    color: #ccc;
    font-style: italic;
}

.article .box-reply .box-reply-inp button {
    width: 100px;
    height: 40px;
    border-radius: 6px;
    background-color: #409eff;
    color: #fff;
    border: none;
    font-weight: 500;
}

.article .box-reply .box-reply-inp button:hover,
.user-reply-footer-com button:hover,
.son-reply-footer-com button:hover {
    background-color: #2f7ecd;
}

.article .box-reply .box-reply-inp button i,
.user-reply-footer-com button i,
.son-reply-footer-com button i {
    color: #fff;
}

.article .box-reply .box-reply-inp .textNum {
    position: absolute;
    right: 10px;
    bottom: 0;
    font-size: 12px;
    color: #acacac;
}

.article .box-reply .box-reply-inp .textNum span {
    font-size: 12px;
    color: #acacac;
    display: inline-block;
    font-weight: 100;
}

.article .user-parent-comment {
    margin-left: 50px;
    margin-bottom: 20px;
    width: 80%;
}

.article .user-parent-comment .user-reply {
    margin: 10px 0;
    padding: 20px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #409eff;
    display: flex;
    flex-direction: column;
}

.user-reply-main {
    width: 100%;
}

.user-reply-main .user-reply-top,
.son-reply-top {
    width: 100%;
    height: 20px;
    line-height: 20px;
    /* background-color: red; */
}

.user-reply-main .user-reply-top span,
.son-reply-top span {
    margin-right: 5px;
    font-size: 14px;
    cursor: pointer;
}

.user-reply-main .user-reply-top span:nth-child(1),
.son-reply-top span:nth-child(1) {
    color: #1c2127;
}

.son-reply-top span:nth-child(1) span {
    background-color: #00000037;
    border-radius: 2px;
}

.user-reply-main .user-reply-top span:nth-child(2),
.son-reply-top span:nth-child(2) {
    color: #ccc;
}

.user-reply-main .user-reply-top span:nth-child(1):hover,
.son-reply-top span:nth-child(1):hover {
    color: #215db0;
    text-decoration: underline #215db0;
}

.user-reply-main p,
.son-reply-main p {
    margin-top: 5px;
    font-size: 15px;
}

.user-reply-main .user-reply-footer span,
.son-reply-footer span {
    display: inline-block;
    padding: 0 3px;
    margin-right: 20px;
    cursor: pointer;
    color: #acacac;
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.user-reply-main .user-reply-footer span:hover,
.son-reply-footer span:hover {
    background-color: #ebebeb;
}

.user-reply-main .user-reply-footer i,
.son-reply-footer i {
    color: #acacac;
}

.user-reply-main .user-reply-footer span:nth-child(2),
.son-reply-footer span:nth-child(2) {
    width: 50px;
}

.user-reply-main .user-reply-footer span:nth-child(2).ractive,
.son-reply-footer span:nth-child(2).ractive {
    background-color: #ebebeb;
}

.user-reply-footer-com,
.son-reply-footer-com {
    width: 100%;
    position: relative;
    display: none;
    /* background-color: red; */
}

.son-reply-footer-com.ractive,
.user-reply-footer-com.ractive {
    display: block;
}

.user-reply-footer-com button,
.son-reply-footer-com button {
    width: 70px;
    height: 40px;
    border-radius: 6px;
    background-color: #409eff;
    color: #fff;
    border: none;
    font-weight: 500;
}

.user-reply-footer-com .textNum,
.son-reply-footer-com .textNum {
    font-size: 12px;
    color: #acacac;
    position: absolute;
    right: 10px;
    bottom: 20px;
}

.user-reply-footer-com .textNum span,
.son-reply-footer-com .textNum span {
    font-size: 12px;
    color: #acacac;
    display: inline-block;
    font-weight: 100;
}

.user-reply-son {
    margin-left: 20px;
    width: 98%;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-reply-son.hactive {
    height: auto;
}

.user-parent-comment .user-reply .user-reply-son .son-reply {
    /* padding: 10px; */
    width: 100%;
    border-radius: 5px;
    margin-top: 0;
    display: flex;
    /* background-color: red; */
}

.article .noRep,
.article .tofooter {
    margin-left: 50px;
    width: 80%;
    height: 100px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #acacac;
}


.top-title-footer p,
.list-item-footer p,
.board-footer p {
    position: absolute;
    display: block;
    width: 160px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #404854;
    color: #fff;
    border-radius: 5px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.top-title-footer p {
    right: -60px;
    bottom: -35px;
}

.top-title-footer p.pactive,
.list-item-footer p.pactive,
.board-footer p.pactive {
    transform: scale(1);
}

.list-item-footer span.timeMsg,
.board-footer span.timeMsg {
    position: relative;
}

.list-item-footer p {
    right: -90px;
    bottom: 20px;
}

.board-footer p {
    right: -170px;
    bottom: -5px;
}



.box-reply span:nth-child(1) {
    display: flex;
}



.changeArt {
    position: absolute;
    top: 20px;
    right: 100px;
    width: 120px;
    height: 40px;
    border-radius: 5px;
    color: #fff;
    line-height: 40px;
    text-align: center;
    background-color: #409eff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.changeArt:hover {
    background-color: #367fc8;
}

.noArt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c8c8c8;
    background-color: #fff;
    box-shadow: 0 0 10px #0000001d;
    border-radius: 5px;
    /* background-color: red; */
}

.user-reply-footer,
.son-reply-footer {
  position: relative;
}

.delCom,
.delRep {
  position: absolute;
  right: 0px;
}